package com.clps.domain;


/**
 * @Description: 用户的实体对象
 * @author: Eric
 * @date: 2023/9/28
 */
public class User {
    private Integer age;
    private String job;
    private String description;

    /**
     * User构造器
     * @param age 用户年龄
     * @param job 用户职业
     * @param description 用户自定义评价
     */
    public User(Integer age, String job, String description) {
        this.age = age;
        this.job = job;
        this.description = description;
    }

    @Override
    public String toString() {
        return "User{" +
                "age=" + age +
                ", job='" + job + '\'' +
                ", description='" + description + '\'' +
                '}';
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
